/**
 * 
 */
package com.zc.spring.serviceimpl;

import com.zc.spring.dao.BasicDAOBasic;
import com.zc.spring.service.StringUpperCaseService;

/**
 * @author ZhangCheng
 * @time 2019年10月30日
 */
public class StringUpperCaseServiceImpl implements StringUpperCaseService {
	private BasicDAOBasic DAO;
	private String text;
	public StringUpperCaseServiceImpl() {
		
	}
	public StringUpperCaseServiceImpl(BasicDAOBasic DAO) {
		this.DAO = DAO;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

	@Override
	public String showTips(String s) {
		// TODO Auto-generated method stub
		System.out.println("set text = "+this.text);
		return (this.text + s).toUpperCase();
	}

	@Override
	public void getBasicDAOInfo() {
		this.DAO.getInfo();

	}

}
